---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-8-1d9b95e61ab7> in <module>()
3 Qmax = np.asarray([150.]),
4 Tmin = 0, Tmax = 365, sigma_si = 75.5,
----> 5 element = 'xenon', force_sim = True)
6
7
/Users/katelynneese/dmddACT/dmdd/dmdd.py in __init__(self, name, experiment, model, parvals, Qmin, Qmax, element, sigma_si, sigma_anapole, mass, v_amplitude, Tmin, Tmax, path, force_sim, asimov, nbins_asimov, plot_nbins, plot_theory, silent)
1107
1108 if force_sim or (not os.path.exists(self.plotfile)):
-> 1109 self.plot_data(plot_nbins=plot_nbins, plot_theory=plot_theory, save_plot=True)
1110 else:
1111 if not self.silent:
/Users/katelynneese/dmddACT/dmdd/dmdd.py in plot_data(self, plot_nbins, plot_theory, save_plot, make_plot, return_plot_items)
1235 # plt.legend(prop={'size':20},numpoints=1)
1236 if save_plot:
-> 1237 plt.savefig(self.plotfile, bbox_extra_artists=[xlabel, ylabel], bbox_inches='tight')
1238
1239
//anaconda/lib/python2.7/site-packages/matplotlib/pyplot.pyc in savefig(*args, **kwargs)
575 def savefig(*args, **kwargs):
576 fig = gcf()
--> 577 res = fig.savefig(*args, **kwargs)
578 draw() # need this if 'transparent=True' to reset colors
579 return res
//anaconda/lib/python2.7/site-packages/matplotlib/figure.pyc in savefig(self, *args, **kwargs)
1474 self.set_frameon(frameon)
1475
-> 1476 self.canvas.print_figure(*args, **kwargs)
1477
1478 if frameon:
//anaconda/lib/python2.7/site-packages/matplotlib/backend_bases.pyc in print_figure(self, filename, dpi, facecolor, edgecolor, orientation, format, **kwargs)
2166 bbox_filtered = []
2167 for a in bbox_artists:
-> 2168 bbox = a.get_window_extent(renderer)
2169 if a.get_clip_on():
2170 clip_box = a.get_clip_box()
AttributeError: 'str' object has no attribute 'get_window_extent'